home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM BV3 / BMUG PD-ROM Version BV3 (CDRM1097900).iso / HyperCard / Games / The Golden Parrot / card_12417.txt < prev    next >
Text File  |  1990-08-20  |  1KB  |  49 lines

  1. -- card: 12417 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3426
  5. -- name: Journey to the Moon Mountains
  6. ----- HyperTalk script -----
  7. on openCard
  8.   global score
  9.   subtract 5 from score
  10.   if score <= 0 then
  11.     visual effect scroll up
  12.     go card "end"
  13.   end if
  14.   put score into field "scorebox"
  15. end openCard
  16. on mouseUp
  17.  
  18.   get field "textarea" of card "Communal Hut"
  19.   put it&return&"A ritual dance" into field "textarea" of card "Communal Hut"
  20.  
  21.   get field "textarea" of card "Mountain Trail"
  22.   put it into holder
  23.   put the number of lines in field "textarea" of card "Mountain Trail" into counter
  24.   repeat until counter = 0
  25.     get line counter of holder
  26.     if it contains "The monkey tree" then
  27.       delete line counter of field "textarea" of card "Mountain Trail"
  28.       put 1 into counter
  29.     end if
  30.     subtract 1 from counter
  31.   end repeat
  32.  
  33.   visual effect dissolve
  34.   go to card "River Trail"
  35.  
  36. end mouseUp
  37.  
  38.  
  39. -- part contents for background part 1
  40. ----- text -----
  41. Journey to the Moon Mountains
  42.  
  43. -- part contents for background part 2
  44. ----- text -----
  45. You set off towards the rocky crags that hover above a distant  wall of billowing clouds. Before long you are totally lost in the deep jungle. After some wandering, you find yourself back at the river trail.
  46.  
  47. -- part contents for background part 5
  48. ----- text -----
  49. 315